



<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
    <meta charset = "utf-8">
</head>

<body>

<form action="${pageContext.request.contextPath}/userLogin" method="post" >
    <table>
        <tr><td>用户名：</td><td><input type="text" name ="username"></td></tr>
        <tr><td>密码：</td><td><input type="password" name ="password"></td><td rowspan="2"><img src="${pageContext.request.contextPath}/createCaptcha" onclick="javascript:window.location.href='login.html'"></td></tr>
        <tr><td>验证码：</td><td><input type="text" name = captchaCode></td></tr>
        <tr><td><input type="submit" value="登录"> </td><td><input type="reset" value="重置"></td></tr>
    </table>
</form>
<a href="register.jsp">无账号？点此注册。</a>
</body>

</html>